package com.le.edu.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 课程简介
 *
 * @TableName t_course_description
 */
@TableName(value = "t_course_description")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CourseDescription extends BaseEntity implements Serializable {
    /**
     * 课程ID
     */
    @TableId(type = IdType.INPUT)
    private Long courseId;

    /**
     * 课程简介
     */
    private String description;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}